import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
// import UnoCSS from 'unocss/vite'

export default defineConfig({
    plugins: [
      vue()
      // ,UnoCSS()
    ],
    resolve: {
      alias: {
        '@render':resolve(__dirname, '../../packages/render/src'),
        '@drag': resolve(__dirname, 'src')
      },
    },
    server: {
        host: '0.0.0.0',
        port: 4001,
    },
})
